package liy.demo.wikiproject.mapper;

import java.util.List;
import liy.demo.wikiproject.domain.Content;

public interface ContentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Content record);

    Content selectByPrimaryKey(Long id);

    List<Content> selectAll();

    int updateByPrimaryKey(Content record);


    int updateVote(Long id);

    int updateView(Long id);
}